import { Base } from '../../../../utils/base.js';
class Approval extends Base {
  constructor() {
    super();
  }

  getSign(place, callback) {
    var param = {
      url: '/api/user/user/getPunchTheClock',
      type: "get",
      data: place,
      sCallback: function (data) {
        callback && callback(data);
      }
    };
    this.request(param);
  }

  getList(place, callback) {
    var param = {
      url: '/api/work/work/myApproval',
      type: "get",
      data: place,
      sCallback: function (data) {
        callback && callback(data);
      }
    };
    this.request(param);
  }
  
  getList2(place, callback) {
    var param = {
      url: '/api/work/work/myAor',
      type: "get",
      data: place,
      sCallback: function (data) {
        callback && callback(data);
      }
    };
    this.request(param);
  }
};
export { Approval };